<template>
  <div class="back-header">
    <el-page-header @back="$router.go(-1)" :content="title"> </el-page-header>
    <slot></slot>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  props: {
    title: {
      default: "",
    },
  },
};
</script>
<style lang="scss" scoped>
.back-header {
  height: 40px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
::v-deep .el-page-header__title {
  font-size: 16px;
}
</style>